//
//  LDMyView.m
//  Gift
//
//  Created by 李迪 on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "LDMyView.h"
#import "BaseHeader.h"
@implementation LDMyView


- (instancetype)init{
    
    self = [super init];
    if (self) {
        [self createrView];
    }
    return self;
}

- (void)createrView{
    
    UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH / 5 , 70, 200, 200)];
    imageView.image = [UIImage imageNamed:@"liwu"];
    imageView.layer.cornerRadius = 100;
    imageView.layer.masksToBounds = YES;
    [self addSubview:imageView];
    
    UIView *viewOne  = [[UIView alloc]initWithFrame:CGRectMake(0, (SCREEN_HEIGHT / 2) + 40, SCREEN_WIDTH, 1)];
    viewOne.backgroundColor = [UIColor blackColor];
    [self addSubview:viewOne];
    
    UILabel *labelOne = [[UILabel alloc]initWithFrame:CGRectMake(50, SCREEN_HEIGHT / 2, 100, 50)];
    labelOne.text = @"收藏";
    [self addSubview:labelOne];
    
    
    UIView *viewTow  = [[UIView alloc]initWithFrame:CGRectMake(0, (SCREEN_HEIGHT / 2) + 80, SCREEN_WIDTH, 1)];
    viewTow.backgroundColor = [UIColor blackColor];
    [self addSubview:viewTow];
    
    UILabel *labelTow = [[UILabel alloc]initWithFrame:CGRectMake(50, SCREEN_HEIGHT / 2 + 40, 100, 50)];
    labelTow.text = @"夜间模式";
    [self addSubview:labelTow];

    
    
    UIView *viewThree  = [[UIView alloc]initWithFrame:CGRectMake(0, (SCREEN_HEIGHT / 2) + 120, SCREEN_WIDTH, 1)];
    viewThree.backgroundColor = [UIColor blackColor];
    [self addSubview:viewThree];
    
    UILabel *labelThree = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH - 220, SCREEN_HEIGHT / 2 + 80, 100, 50)];
    labelThree.text = @"分享";
    labelThree.textAlignment = 1;
    [self addSubview:labelThree];
    

    
    UIView *viewFour  = [[UIView alloc]initWithFrame:CGRectMake(0, (SCREEN_HEIGHT / 2) + 160, SCREEN_WIDTH, 1)];
    viewFour.backgroundColor = [UIColor blackColor];
    [self addSubview:viewFour];
    UILabel *labelFive = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH - 220, SCREEN_HEIGHT / 2 + 120, 100, 50)];
    labelFive.text = @"关于我们";
    labelFive.textAlignment = 1;
    [self addSubview:labelFive];

    
    
    UIView *viewFive  = [[UIView alloc]initWithFrame:CGRectMake(0, (SCREEN_HEIGHT / 2) + 200, SCREEN_WIDTH, 1)];
    viewFive.backgroundColor = [UIColor blackColor];
    [self addSubview:viewFive];
    
    UILabel *labelSix = [[UILabel alloc]initWithFrame:CGRectMake(SCREEN_WIDTH - 220, SCREEN_HEIGHT / 2 + 160, 100, 50)];
    labelSix.text = @"清除缓存";
    labelSix.textAlignment = 1;
    [self addSubview:labelSix];
    
    
    [labelOne release];
    [labelTow release];
    [labelThree release];
    [labelFive release];
    [labelSix release];
    
    [viewOne release];
    [viewTow release];
    [viewThree release];
    [viewFour release];
    [viewFive release];
}




@end
